package com.geline.easyexcel.annotation;

import java.lang.annotation.*;

/**
 * Excel导入注解
 * 使用方式：放在VO上
 *  @ExcelImport(value = "excel001")
 *  @ExcelImport(value = "excel001", headRowNumber = 1)
 *
 * @author: mengxin
 * @date: 2023/9/23 21:06
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE})
public @interface ExcelImport {

    //标识码
    String value();

    //表头读取第几行，解决跨行表头问题
    int headRowNumber() default 1;
}
